package com.example.lab.service.impl;

import com.example.lab.dao.LabVoDao;
import com.example.lab.dao.LostVoDao;
import com.example.lab.entity.LabVo;
import com.example.lab.entity.LostVo;
import com.example.lab.service.LabVoService;
import com.example.lab.service.LostVoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service("lostVoService")
public class LostVoServiceImpl implements LostVoService {
    @Resource
    private LostVoDao lostVoDao;
    @Override
    public List<LostVo> queryAll(Integer page, Integer limit, LostVo lostVo) {
        return lostVoDao.queryAll(page, limit, lostVo);
    }

    @Override
    public Long getCount() {
        return lostVoDao.getCount();
    }
}
